{% extends  'partials/base.html' %}
{% block title %}订单修改{% endblock %}
{% load crispy_forms_tags %}
{% block content %}

<div class="container">
    <div class="row my-4">
        <div class="col-md-4">
<!--            {% for message in messages %}-->
<!--            {% if message %}-->
<!--            <div class="alert alert-{{message.tags}}">-->
<!--                {{message}}-->
<!--            </div>-->
<!--            {% endif %}-->
<!--            {% endfor %}-->
            <div class="card">
                <div class="card-header bg-info text-white">
                    订单修改
                </div>
                <div class="card-body">
                    <form method="POST" class="uniForm" action="">
                        {% csrf_token %}
                        {{form|crispy}}
                        <input class="btn btn-info" type="submit" value="更新订单">
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

{% endblock %}